package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.PersonEnroll;
import com.zhijian.medical.entity.vo.request.PersonEnrollSearchVo;
import com.zhijian.medical.entity.vo.response.PersonEnrollVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PersonEnrollMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PersonEnroll record);

    int insertSelective(PersonEnroll record);

    PersonEnroll selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PersonEnroll record);

    int updateByPrimaryKey(PersonEnroll record);

    int count(PersonEnrollSearchVo personEnrollSearchVo);

    List<PersonEnrollVo> selectList(PersonEnrollSearchVo personEnrollSearchVo);

    PersonEnrollVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<PersonEnroll> entities);
}